package cn.snailhd.server.config;

import org.springframework.stereotype.Component;

import cn.snailhd.utils.PropertiesFactory;
import cn.snailhd.utils.PropertiesHelper;

@Component
public class ServerConfig {
	
	
	/**
	 * AES 密钥
	 */
	private static PropertiesHelper ph;
	
	/**
	 * token 存入的 key
	 */
	public static String REDIS_KEY_LOGIN_TOKEN="user:token:";
	
	/**
	 * AES 密钥
	 */
	public final static String AES_KEY;
	
	

	
	
	
    static {
        ph = PropertiesFactory.getPropertiesHelper("snailhd", true);
        AES_KEY=ph.getValue("snailhd.aes.key");
    }
	

}
